
#detail-root {
  position: relative;
  z-index: 15;
  width: 100%;
  height: 100%;
  overflow: hidden;

  .iconfont.icon-zuojiantou {
    position: absolute;
    top: 50px;
    left: 10px;
    font-size: 30px;
    z-index: 11;
    color: #fff;
    border-radius: 5px;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.3);
  }

  .title {
    padding: 0 10px;
  }

  .content {
    width: 100%;
    height: 100%;
    padding: 0 0 40px 0;
  }

  background-color: #fff;

  .detail-scroll {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 40px;

    .banner {
      width: 100%;
      position: relative;

      .info {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 10;
        background-color: #fff;
        padding: 2px;
        border-radius: 2px;
        border: 1px solid #ddd;
        font-size: 12px;
      }

      .play-icon {
        position: absolute;
        left: 10px;
        bottom: 10px;
        z-index: 10;
      }

      img {
        width: 100%;
      }
    }

    .content {
      margin-top: 15px;
      border-top: 1px solid #ddd;

      img {
        width: 100%;
        display: block;
      }
    }
  }

  .accountPrice {
    padding: 10px;
    width: 100%;
    height: 80px;

    .retailCounterPrice {
      span:nth-child(1) {
        font-size: 30px;
        margin-right: 8px;
        color: red;
      }

      span:nth-child(2) {
        font-size: 16px;
        color: #999;
        text-decoration: line-through;
      }
    }
  }

  .tab-wrap {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
    background-color: #fff;
    border-top: 1PX solid #ddd;

    .login-cover {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: transparent;
      z-index: 10;
    }
  }


  .tab {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    height: 49px;
    display: flex;
    justify-content: space-around;
    align-items: center;

    // div{
    //   height: 100%;
    //   display: flex;
    //   justify-content: flex-end;
    //   align-items: center;
    // }
    .iconfont {
      font-size: 26px;
    }

    .btn {
      font-size: 16px;
      border-radius: 10px;
      padding: 3px 5px;
      border: 1px solid red;

    }

    .add {
      background-color: #fff;
      color: #333;
    }

    .buy {
      background-color: red;
      color: #fff;
    }

  }

  .detail-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 30;

    .cover {
      width: 100%;
      height: 100%;
    }

    .close-btn {
      position: absolute;
      top: 40%;
      right: 10px;
      font-size: 14px;
      border: none;
      transform: translateY(-20px);
      background-color: rgba(0, 0, 0, .3);
      border-radius: 50%;
      z-index: 10;

      img {
        width: 30px;
        height: 30px;
        border: none;

        display: block;
      }
    }

    .panel-wrap {
      position: absolute;
      left: 0;
      bottom: 40px;
      width: 100%;
      height: 60%;
      background-color: #fff;

      .top {
        display: flex;
        padding: 15px;

        .top-img {
          img {
            background-color: #efefef;
            width: 90px;
            height: 90px;
          }
        }

        .top-info {
          margin-left: 10px;
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          align-items: flex-start;

          p:first-of-type {
            color: #f00;

            span:last-of-type {
              color: #999;
              text-decoration: line-through;
            }
          }
        }
      }

      .sku-bar {
        padding-left: 16px;
        margin: 10px 0;

        .sku-list {
          display: flex;
          flex-wrap: wrap;
        }

        .sku-title {
          font-size: 14px;
          color: #333;
          padding: 8px;

        }

        .sku-item {
          padding: 4px;
          border-radius: 2px;
          border: 1px solid #333;
          margin: 5px;
          color: #333;

          &.active {
            color: red;
            border: 1px solid red;
          }
        }
      }

      .count-bar {
        padding: 10px;
        display: flex;
        font-size: 14px;


        span {
          display: block;
          padding: 10px;
          background: #fff;
          border: 1px solid #333;

          &.disable {
            border: 1PX solid #333;
            // cursor: not-allowed;
          }

          &:first-of-type {
            border-right: none;
          }

          &:last-of-type {
            border-left: none;
          }
        }

        input {
          background: #fff;
          border: 1px solid #333;
          font-size: 14px;
          width: 80px;
          text-align: center;
          line-height: 40px;
        }
      }

    }
  }
}


.play-wrap,
.player {
  width: 100%;
  background-color: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 20;

  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 30;
  }

  .player-content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    // height: 100px;
    background-color: #fff;

    .videoPlay {
      width: 100%;
    }
  }
}